package entities;

import java.util.ArrayList;

import property.Replyable;

public abstract class News implements Replyable{
	
	/** define news_type */
	private static final int STATE = 0;
	private static final int BLOG = 1;
	private static final int GRAPH = 2;
	
	private int news_id;
	public int getNews_id() {
		return news_id;
	}
	public void setNews_id(int newsId) {
		news_id = newsId;
	}
	
	private int news_type; 
	public int getNews_type() {
		return news_type;
	}
	public void setNews_type(int newsType) {
		news_type = newsType;
	}

	private int owner;
	public int getOwner() {
		return owner;
	}
	public void setOwner(int owner) {
		this.owner = owner;
	}
	
	private String title; 
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}

	private boolean if_replied;	
	public boolean isIf_replied() {
		return if_replied;
	}
	public void setIf_replied(boolean ifReplied) {
		if_replied = ifReplied;
	}

	private ArrayList<News_Reply> replies;
	public ArrayList<News_Reply> getReplies() {
		return replies;
	}
	public void setReplies(ArrayList<News_Reply> replies) {
		this.replies = replies;
	}
}
